const state = {
  scrollTo: 0
};
const mutations = {
  SET_SCROLLTO(state, scrollTo) {
    state.scrollTo = scrollTo;
  }
};
const actions = {
  setScrollTo({ commit }, num) {
    commit('SET_SCROLLTO', num);
  }
};
const getters = {
  getScrollTo() {
    return state.scrollTo;
  }
};
export default { state, mutations, actions, getters };
